home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 23 / fetch.zip / FETCH.DOC < prev    next >
Text File  |  1987-03-26  |  46KB  |  872 lines

  1.  
  2. Underdog's FileFetcher v2.06  March 21,1987    (C) Crater Rim Software
  3.  
  4.     I  wrote  this program to (attempt) to get a better hold on the files I 
  5. have available on the BBS.  What with 280megs (soon to be 350megs) and some 
  6. 10,000+ files,  I suddenly found myself lost in a sea  of  ARC  files!  The 
  7. original   layout  of  the  hard  drives  was  some  20  or  so  categories 
  8. (directories) but after a while, I got tired of having to read the doc file 
  9. of each new upload,  then make a determination of  what  category  it  fell 
  10. into...  and  sometimes having to 'fudge' on that dertimination because the 
  11. file content didn't quite fit into an appropriate  'niche'!  I  also  found 
  12. that  the system was spending an extraordinary amount of time hunting for a 
  13. file requested for download.  So,  I loaded up  the  BBS  source  code  and 
  14. modified  the  file  request  category  (directory)  search  routine to the 
  15. following: 
  16.  
  17.        My  first  step was to re-organize all of the hard drives creating 1 
  18. letter directories each biginning with  a  letter  of  the  alphabet.  That 
  19. netted  me  26  directories  (A  thru  Z).  I  then  loaded the directories 
  20. according to the first character of the filename  (  ALBERT.ARC  went  into 
  21. directory  A  -  XYZ.ARC when into directory X). This was all well and good 
  22. but I found that there were certain directories which were getting a lion's 
  23. share of the files.  I quickly modified the directory specifications in the 
  24. BBS software to allow upto 6  letters.  This  allowed  me  to  create  2600 
  25. directories  (100  for each letter   C:\A, C:\A1, C:\A2 ...  C:\A99),  thus 
  26. allowing a limit to the number of files in  each  directory.  This  covered 
  27. all  the possible filenames except for three categories...  Those filenames 
  28. beginning with numbers (like  123UNP.ARC), those files starting with all of 
  29. the  other  filename  characters  allowed by  DOS  (like  !TROJAN!.ARC) and 
  30. finally the uncataloged new uploads.  Simple enough,  created three  catch-
  31. all directories...  the number  directory  was named  00  the miscellaneous 
  32. directory was named  NA  and the upload directory was named  0 
  33.  
  34.        Nice and easy now! Simply store each new file in the first character 
  35. directory! Now I was in business, right?  WRONG!!!  Another trip to the BBS 
  36. source code corrected the problems...  
  37.  
  38.        The old file search process went something like this:
  39.  
  40. 1)   User requests a file.
  41. 2)   System first checks the new upload directory
  42. 3)   If it isn't there,  it then  steps  through  the  other  designated 
  43.      directories one at a time,  searching all of the drives, all of the 
  44.      directories until the file is found  or  the  system  runs  out  of 
  45.      directory names.
  46.  
  47. Not a whole lot of time consumed,  but the hard drive lights  look  like  a 
  48. Christmas tree and Ma' Bell keeps that clock ticking!  
  49.  
  50.        The new file search process goes something like this:
  51.  
  52. 1)   User requests a file.
  53. 2)   System first checks the new upload directory
  54. 3)   If it isn't theren it then checks the first character of the filename 
  55.    A)  If it's a number, it jumps directly to the catch_all number directory.
  56.    B)  If it's a letter,  the system loops through the designated directory 
  57.        names,  checking only those  directory  names  which  begin  with  a 
  58.        matched letter.  
  59.    C)  If  the first character didn't fall into either of the above,  or if 
  60.        it did  but was not found in the above searches,  the  miscellaneous 
  61.        directory is then searched 
  62.  
  63. So  from  a potential 20+ category/10,000 file search under the old method, 
  64. in most cases,  the new method requires only a 3 or  4  category/1000  file 
  65. search.  
  66.  
  67.        OK,  NOW I was in business, right?  WRONG!!!  Now that I got the BBS 
  68. up to speed,  I found that I was spending an extraordinary amount  of  time 
  69. trying to locate files!  Under the new method, the directories went from 21 
  70. to  36!  I found I was constantly doing a directory of the hard drives just 
  71. to see what directories were on what drives!  Next step  was  to  dig  out, 
  72. unpack  and  test  all of the different FINDIT type programs I have online.  
  73. Well,  I've got to admit,  there are some great FINDIT  type  programs  out 
  74. there!  Some  do  a  search  of  only one drive,  others do a search across 
  75. drives, others do a search inside ARC files... etc. etc. etc...  BUT....
  76.  
  77.        First  -  I found that they all operate the  same  way my old search 
  78. method worked!  I had two available options when  executing  any  of  these 
  79. programs.  
  80.  
  81.   1)  Blindly  searching each and every hard drive completely until the 
  82.       file is found.
  83.   2)  Doing a root directory of each hard drive to find the directory which 
  84.       may possibly contain the file I was looking for.  Then calling up the 
  85.       file finder to locate the file (I'm already there, why bother!) 
  86.  
  87.        Second - if I wanted to list the members  of  the  ARC  file  I  was 
  88. looking for, I would have two more options.  
  89.  
  90.   1)  Find the file using the finder,  write the drive\directory path  down 
  91.       on a scrap of paper, exit the finder, then do an PKXARC V (or ARC V) 
  92.  
  93.   2)  Use  a finder that would search EACH arc file (that would take months 
  94.       and I had to designate a member file to look for!) 
  95.  
  96.        Third - if I wanted to look for  another  ARC  file,  I  had  to  go 
  97. through the ENTIRE process again!  
  98.  
  99.        Now, since I had already written the routines for the ARC V (verbose 
  100. listing of ARCfile members) and it was fully functional  in  both  the  BBS 
  101. software  and  K9X  (my  communications  package)...  and  since I had just 
  102. completed the routines for this efficient new way to search my drives for a 
  103. file,  the next logical step was to merge the routines and  create  my  own 
  104. file finder.... Welcome to FETCH - Underdog's FileFetcher!  
  105.  
  106.  
  107.        N O W    I    A  M    I N    B U S I N E S S !!!  (You Too!)
  108.  
  109.        This  program  combines  a  number  of functions into one all around 
  110. utility which I have found almost a prerequisite when working with  a  hard 
  111. drive!
  112.  
  113.       A note here on where the FETCH  files  can  reside.  Upon  start  up, 
  114. FETCH  makes  note of where all of the FETCH support files are located.  In 
  115. order  to  allow  you  the  flexibility   to   startup   FETCH   from   any 
  116. drive\directory  on  your system,  I've included a routine that will search 
  117. your system environment for       FETCH= 
  118.  
  119. What this allows you to do, is place the FETCH files in a special directory 
  120. or in your DOS directory and place a line into your AUTOEXEC.BAT file which 
  121. will allow FETCH to find its overlay files and the FETCH.CNF file no matter 
  122. where you are on your system's drives. Let's take a couple of examples: 
  123.  
  124.    Example one:
  125.  
  126.       You place the FETCH.COM and FETCH.CNF files in a directory named
  127.       FETCH  on drive  C
  128.  
  129.       Add the line   SET FETCH=C:\FETCH     to your  AUTOEXEC.BAT file
  130.  
  131.       If you haven't previously set a DOS path,
  132.       Add the line   PATH=C:\FETCH          to your  AUTOEXEC.BAT file
  133.  
  134.       If you have set a DOS path,
  135.       Add  ;C:\FETCH   to your path statement in your AUTOEXEC.BAT file
  136.  
  137.    Example two:
  138.  
  139.       You place the FETCH files in with your DOS files in  the  directory 
  140.       previously named DOS on drive D 
  141.  
  142.       Add the line   SET FETCH=D:\DOS      to your  AUTOEXEC.BAT file
  143.  
  144.       If you haven't previously set a DOS path,
  145.       Add the line   PATH=D:\(your DOS directory) to your AUTOEXEC.BAT file
  146.  
  147.  
  148.    PLEASE NOTE  that  you  MUST reboot your system in order for DOS to know 
  149.                 where you have placed the FETCH files.  Upon completing the 
  150.                 initial   startup,   FETCH  will  automatically  write  the 
  151.                 FETCH.CNF file to the area you specified  in  the  SET  and 
  152.                 PATH lines of your AUTOEXEC.BAT file.  
  153.  
  154.        Now  that  you have the files in the proper location,  modified your 
  155. AUTOEXEC.BAT and have rebooted your system,  your first step to  using  the 
  156. program  is  to  copy  the  FETCH  files  into either the FETCH or your DOS 
  157. directory.  
  158.  
  159.        Now type FETCH at the  DOS  prompt.  This  sequence  will  step  you
  160. through  the  creation  of  the configuration file,  allowing you to custom 
  161. configure FETCH to your own tastes. Let me step though the options.  
  162.  
  163.        Upon startup,  FETCH will automatically determine whether or not you 
  164. are using a CGA card and set the default mode to what it finds.  
  165.  
  166. FETCH will then open up the first of several windows.  The first window  is 
  167. the  flag  for  whether or not you want the directory listings displayed in 
  168. LIVING COLOR or just (BLAH!!) black  and  white.  The  default  setting  is 
  169. determined  initially  by  whatever FETCH finds when it queries your system 
  170. for a CGA card. The default setting will be displayed in inverse colors.  
  171.  
  172. Simply hit the ENTER key.
  173.  
  174. With this menu, and all of the menus in FETCH,  there are two ways in which 
  175. to select the different options.  
  176.  
  177.   1)  Use  the  up  and  down  arrow  keys  or  the  space  bar to move the 
  178.       highlighted  cursur  from  one  option  to  another.  When  you  have 
  179.       positioned the cursor where over the option you want,  simply hit the 
  180.       ENTER key. If you are not using the Screen writes option (you are NOT 
  181.       during the first portions of the initial setup), you will have to tap 
  182.       one of the arrow keys or the space bar (rather than press  and  hold) 
  183.       to move the highlighted cursor.  
  184.  
  185.   2)  Type the first letter (upper or lower case) of the option you want to 
  186.       use. This is the fastest way!
  187.  
  188. If you should hit a wrong key, FETCH will display an  <ERROR>  message down 
  189. on line 26 of the screen.  
  190.  
  191.        The  next  menu  to appear will contain the list of available colors 
  192. for menu frame, menu text, menu title and lastly, the border color.  If you 
  193. are satisfied with the current menu colors, simply type Q.  If you want  to 
  194. change the menu colors, do so now.  When you have selected your choices (or 
  195. hit ENTER for the default settings),  move the highlighted  cursor  to  the 
  196. Q)uit  option  and  hit  ENTER (You MUST use the Q)uit option or FETCH will 
  197. simply keep on cycling through the different Menu Color menus).  
  198.  
  199.        The  next  menu  to appear will contain the list of available colors 
  200. for directory listing filename, filesize,  filedate,  filetime and transfer 
  201. times  colors.  A  second  window will open toward the bottom of the screen 
  202. displaying a sample fileline.  Again, if you are satisfied with the default 
  203. colors,  type Q.  If not,  change them now.  When you  have  selected  your 
  204. choices  (or  hit  ENTER  for  the default settings),  move the highlighted 
  205. cursor to the Q)uit option and hit ENTER (You MUST use the Q)uit option  or 
  206. again, FETCH will simply keep on cycling through the different Global Color 
  207. menus).  
  208.  
  209.       The next menu displayed will allow you to complete  the  majority  of 
  210. the  configuration  of FETCH.  The first choice here is to type S and check 
  211. to see if your system will allow direct screen updates.  If  it  will  not, 
  212. you  may  have  to do a [Ctrl C] to abort FETCH,  and start over again.  If 
  213. your system will handle direct screen updates,  it will speed up the screen 
  214. displays considerably. Another window will now open showing what setting is 
  215. current  status of the S)creen Writes option (in the form of [YES] or [NO]) 
  216. and then prompt you to type Y or N to  the  question  being  asked.  PLEASE 
  217. NOTE that ALL Yes/No (Y/N) questions will default to YES if you simply  hit 
  218. the ENTER key.  How you repond is not that critical here...  but it WILL be 
  219. VERY critical in other sections of Fetch -Such as during  the  Delete  File 
  220. option!!!  So, be sure you think out your reponses before you type them it!  
  221. So type Y (or hit ENTER) now.  
  222.  
  223.       FETCH uses a DOS shell to access your ARC program(s) so that you  can 
  224. make (create), test, type a text file member, and unpack arc files.  The  A 
  225. option allows you to define which ARCing,  UnARCing utilities you  wish  to 
  226. use.  Along with the ARC utility name, you must also supply the appropriate 
  227. options  for that particular ARCing function.  Type A and let's take a look 
  228. at the default values. 
  229.  
  230.       Our first choice is the M)ake an ARC.  Type M now.  The window at the 
  231. base  of  you screen shows you that the default program for creating an arc 
  232. file is   PKARC /OC A   I have chosen Phil Katz' PK series for the speed in 
  233. which they do their job. In creating an arc file, the  /OC  parameter tells
  234. PKARC  NOT  to  use  the squashing method.  The reason for this will become 
  235. clear when we discuss the R)ead an ARC Text file option. If you wish to use
  236. the original ARC.EXE utility, simply enter   ARC A  in place of the default
  237. setting. If you simply hit ENTER now, no changes will be made.
  238.  
  239.       Type  R  now. As you can see, I have chosen Vern Buerg's  ARCTYPE for 
  240. this option. ARCTYPE cannot read squashed files (thus the /OC when creating 
  241. ARC  files).  The  reason I chose Vern's ARCTYPE is because it pauses after 
  242. each screen and displays a [More] prompt.  The one flaw I have  found  with 
  243. ARCTYPE  is  that  the  only  way  you can stop the display is by issuing a 
  244. Control C at the [More] prompt.  No problem though,  as this simply returns 
  245. you to FETCH. If you want to use ARC.EXE here, enter  ARC P in place of the
  246. default setting. If you are using PKXARC, enter PKXARC/C
  247.  
  248. NOTE: If you are using  PKXARC for this option,  you may wish to change the 
  249.       default setting for the M)ake option above to  PKARC A  so that PKARC 
  250.       will take advantage of the Squashing Method of file compression.  
  251.  
  252. Again, an  ENTER response exits this window without making any changes.
  253.  
  254.       Type  T  now.  The default for T)esting an ARC is PKXARC/T     If you
  255. are using  ARC.EXE, the test command is   ARC T    ENTER  exits you back to
  256. the menu.
  257.  
  258.       Type  U  now.  The default for U)npacking an ARC is  PKXARC    If you
  259. are using  ARC.EXE, the unpack command is either  ARC E   or   ARC X   (see
  260. the ARC.EXE documentation for more details).   ENTER  exits you back to the
  261. menu. Type  Q  at the ARC Utilities menu to return to the Defaults Menu.
  262.  
  263. NOTE: You  may  have noticed that the  ARC List function is not included in 
  264.       this section.  The ARC List is built in to FETCH and displays the ARC 
  265.       listing in FULL LIVING COLOR!  
  266.  
  267.       At  this  point you have already completed the B)ase Colors option so 
  268. lets move on to the next option.
  269.  
  270.       Option  B  is new in version 2.05. It allows you to define the backup 
  271. and restore utilities commands and the Floppie Drive designator  that  will 
  272. be  used during system backup and restore. There are three parameters which
  273. you may set/reset through this option. They are:
  274.  
  275.       The Command to backup the system 
  276.           (14 characters maximum with the default set to DOS  BACKUP.COM)
  277.  
  278.       The Command to restore the system
  279.           (14 characters maximum with the default set to DOS  RESTORE.COM)
  280.  
  281.       The BackUp Drive designator which will hold the backed up files
  282.        during the backup procedure
  283.           (20 characters maximum with the default set to drive A:)
  284.  
  285.       The Restore Drive designator which will hold the backed up files
  286.        during the restore procedure
  287.           (20 characters maximum with the default set to drive A:)
  288.  
  289. During both the backup and restore functions,  Fetch  uses  the  predefined 
  290. drive\directory  names  list  to  backup/restore  each  specified  pathname 
  291. individually.  
  292.  
  293. During the backup procedure, Fetch loops through the entire drive\directory 
  294. list  building  and  passing  the  following  parameter  line  to  the  DOS 
  295. BACKUP.COM via a DOS Shell for each entry in your drive\directory list:
  296.  
  297.   backup_command + ' ' + drive\path[#] + '\*.* ' + backup_drive
  298.  
  299. As  you  can see,  Fetch adds the required spaces and last backslash *.* to 
  300. the  drive\path[#]  (the [#] being the loop number)  automatically.  During 
  301. the restore,  the process is identical except that the string passed to DOS 
  302. RESTORE.COM is: 
  303.  
  304.   restore_command + restore_drive + ' ' + drive\path[#] + '\*.* '
  305.  
  306. I have defined the maximum string lengths for each of these defaults to 14, 
  307. 14, 20  and  20  respectively so that you will have enough  'space'  to add 
  308. whatever  options  you desire.  If you are using FASTBACK or the like,  you 
  309. can use the default_drive  parameters to  hold  the  required  Y/N  prompts 
  310. instead  of a drive specifier as FASTBACK uses all available floppie drives 
  311. (as opposed to just one).  
  312.  
  313.   Note: When  customizing  these  parameters  to  use FASTBACK or the like, 
  314.         remember  that  Fetch  automatically  adds  the  \*.*  as  a   file 
  315.         specifier.  
  316.  
  317.       Option  D  allows you to designate the default command to be used  in 
  318. the DOS command option of the Utilities menu (discussed later).  There is a 
  319. special  character which is used here...  it is the vertical bar | (not the 
  320. colon :).  This allows you to enter a portion of a command  and  when  this 
  321. option is selected, FETCH will prompt you for the remainder of the command.  
  322. Let  me  see if I can clear this point up...  There are some programs which 
  323. require a command line parameter to  be  specifed  when  starting  up  that 
  324. program... such as a word processor requiring a filename for the file to be 
  325. edited.  The  vertical  bar  allows you to make this designation.  Your DOS 
  326. Command might look like: 
  327.  
  328.      Your program name is          EDIT.COM
  329.      When you use it, you type     EDIT myfile.txt
  330.      Your DOS COmmand will be      EDIT |
  331.      When you choose  the  DOS  Command  option,  FETCH  will  replace  the 
  332.        vertical bar with whatever else you enter.  If you simply hit ENTER, 
  333.        FETCH will start that  program  by  itself  without  any  additional 
  334.        parameters.  
  335.  
  336. The default value here is simply the vertical bar.  In effect, the vertical 
  337. bar by itself acts the same as the DOS Shell option discussed later.  
  338.  
  339.       As you have already seen, the menus are displayed in a straight print 
  340. type routine.  The E option will display the menus in an exploding fashion.  
  341. If you opt for exploding menus, FETCH will display the menus by starting at 
  342. a central point and expanding the menu frames  out  to  their normal  size, 
  343. simulating an explosion.  Type E and then type Y and decide for yourself if 
  344. you  want  exploding  menus!  If  you decide not to have this type of menu, 
  345. simply type E again and then N.  
  346.  
  347.       Option  F  allows  you  to specify if you want FETCH to do a straight 
  348. sequential search or a designated search of the drive\directory  list.  The 
  349. designated  search  requires that your files are stored in the same fashion 
  350. as I set up the  BBS  directories...  the  actual  list  sequence  for  the 
  351. designated  search  is  covered further on in this document.  Most 'normal' 
  352. users will not require this special designated search feature.  Type F then 
  353. Y for a sequential search pattern or N for the special designated search.  
  354.  
  355.       We've already completed the M)enu Colors option.
  356.  
  357.       Option  N  allows  you  to  specify the number od directories in your 
  358. list. The range is from a minimum of 2 to a maximum of 80. The default here 
  359. is 2...  NOTE that this number  DOES  NOT  include  the  the  Default  Path 
  360. drive\directory  (option  P  below).  You  will have to count up and make a 
  361. list of the drive\directory\subdirectory paths you have on your  system.  I 
  362. will explain how to edit the directory list later on,  but you will have to 
  363. enter the total number of entries in your list from this option.  
  364.  
  365.       Option  P  allows you to designate the default drive\directory (in my 
  366. case, this is my new upload directory) which is the first to be search upon 
  367. each and every search request. A note here... The total allowable length is 
  368. 29  characters.   That  includes  the   drive   designator.   Also,   FETCH 
  369. automatically  inserts the last backslash  \  when using this or any of the 
  370. directory names in your list.  DO NOT include the last backslash! Take note 
  371. to the default setting which is displayed  when  you  select  this  option. 
  372. Notice that it is simply a C:  without the backslash.  When FETCH uses this 
  373. entry, it will be C:\ 
  374.  
  375.       Option T is another special feature.  Since there are numerous  times 
  376. when  I  am  looking  for  a file so that I can upload it to another BBS or 
  377. transfer it to a client,  FETCH will display approximate transfer times  at 
  378. 1200,  2400  and 9600 bps (as you've already seen when selecting your B)ase 
  379. Colors).  The T)ransfer Times option enables and disables this option. When 
  380. you type T,  FETCH will first ask if you want the transfer times displayed.  
  381. If you type Y to have them displayed,  FETCH will then allow you to turn on 
  382. (or off) any combination of the three baud rate times.  
  383.  
  384.   Examples:
  385.      if you only have a 300/1200 modem, you can disable the 2400b and 9600b 
  386.      times  by  responding  with  a Y for the 1200b and N for the 2400b and 
  387.      9600b 
  388.  
  389.      if you have a 300/1200/2400  modem,  you  can  disable  the  9600b  by 
  390.      responding with a Y for the 1200b, another Y for the 2400b and a N for 
  391.      the 9600b 
  392.  
  393. The last option in this set concerns which files will have  their  transfer 
  394. times displayed. If you respond with a  Y  here,  all files will have their 
  395. transfer times displayed...  If you respond with an   N   only those  files 
  396. having an extension of ARC  (ie: FETCH.ARC)  will have their transfer times 
  397. displayed.  
  398.  
  399. If,  after opting to display transfer times,  you then set all the times to 
  400. off (by reponding N to the individual baud  rates),  the  original  display 
  401. transfer times flag will be set to No.
  402.  
  403. If you type N to the T)ransfer times option,  none of  the  transfer  times 
  404. will be displayed.  
  405.  
  406.  
  407.       Option  W  will  save any changes you have made to the FETCH.CNF file 
  408. residing with the FETCH program.  Please note, upon your initial startup of 
  409. FETCH,   the  FETCH.CNF  file  is  automatically  saved...   HOWEVER,   any 
  410. subsequent  changes  you  may make will NOT be automatically saved.  If you 
  411. want the changes to be there when you startup FETCH the next time, YOU MUST 
  412. use this option.  
  413.  
  414.       Option  Q  is your route out of this menu.  Both options  (W  and  Q) 
  415. will  cause  an exit from the defaults section,  the difference being that, 
  416. other than during this initial startup,  the  Q  option does not  save  any 
  417. changes you may have made. The changes will be active, but not saved to the
  418. disk copy of FETCH.CNF configuration file.
  419.  
  420.       Once  out  of  your  initial  setup  menu,  (hit  ENTER with option q 
  421. highlighted), FETCH will clear the screen and display the prompt: 
  422.  
  423.       Search Specification: ([Enter]= *.*, [?]= Drive_List):
  424.  
  425.       Since we are not done with the initial setup (and I want  to  explain 
  426. the Utilities menu to you).  Simply hit ENTER at this time.  FETCH will now 
  427. display  a  directory  of your current logged drive\directory.  If you have 
  428. more than one page worth of files listings, you will encounter the prompt: 
  429.   
  430.       More ([Esc], [Y]es/[Enter], [N]o, [C]ontinuous)...
  431.  
  432.       Briefly,  your choices here are pretty straight forward.  Hitting the 
  433. Enter  or  the Y key will simply scroll up the next page of files listings.  
  434. The N response here will stop any further listing and take you to the final 
  435. prompt.  The C response will scroll all of the remaining files listings for 
  436. this directory non-stop.  The Esc response represents the  Escape  key.  It 
  437. brings  up the Utilities menu which allows you to 'work' on a file or files 
  438. mid-stream in the directory listing.  This command  will  be  discussed  in 
  439. detail later on... If you have the 
  440.  
  441.       More ([Esc], [Y]es/[Enter], [N]o, [C]ontinuous)...
  442.  
  443. prompt displayed now, hit the  N   key. If not, you should be at the prompt 
  444.  
  445.       That's It! [Esc] [A]gain or [Enter]/[Quit]
  446.  
  447.       This  prompt  signals the end of the directory listing.  I will cover 
  448. the available  commands  for  the  this  prompt  in  detail  later  on  but 
  449. briefly...  The Esc response is the same as described above.  It allows you 
  450. to enter the utilities section and work on files.  The A response  recycles 
  451. FETCH  by simulating the DOS command line parameters so you can continually 
  452. cycle FETCH without ever exiting the  program!  This  option  and  the  DOS 
  453. command  line parameters will be discussed in detail further on...  But for 
  454. now, hit the Escape (Esc) key.  
  455.  
  456.       You should have the Utilities menu display in the upper right corner.  
  457. I have attempted to place all of the main work windows up in this  area  so 
  458. the majority of the directory listing will be visible.  
  459.  
  460. Utilities Options:
  461.  
  462.    ARC Type
  463.  
  464.    This  routine will prompt you for the source filename.  Note that if you 
  465.    do not specify a drive\directory path,  FETCH will use your drive  names 
  466.    list  to automatically find the specified arc file for you.  If,  on the 
  467.    other hand,  you specify a drive\directory path,  FETCH  will  use  that 
  468.    information  instead of using the drive names list.  This is true of all 
  469.    instances  where  the [d:\][path\] is included in the prompt line.  When 
  470.    using any of the ARC functions,  the .ARC extension is assumed so you do 
  471.    not  have  to type the .ARC after the filename.  If you simply hit ENTER 
  472.    here,  FETCH will return you to the Utilities menu without  any  further 
  473.    action.  After entering the source file name,  FETCH will prompt you for 
  474.    the File(s) to type.  If you are using ARCTYPE,  you will not be able to 
  475.    use  wildcards  and  must specify the full filename to be typed.  If you 
  476.    are not sure of the name, use the L)ist ARC option (discussed later). If 
  477.    you are using PKXARC,  you may use wild cards as described in the PKXARC 
  478.    documentation.
  479.  
  480.    Backup/Restore
  481.  
  482.    This routine will perform a system backup and/or  system  restore  using
  483.    the your predefined drive\directory list  and  the  default  values  set
  484.    earlier  in the backup portion of the defaults section.  NOTE that Fetch
  485.    backs up each (and every) drive\directory in the list individually. NOTE
  486.    ALSO no backup/restoration will be made on any drive\directory that does
  487.    not appear in your list.  To use this option,  simply select either  the
  488.    Backup or Restore option.  Fetch will perform a DOS shell and pass  both
  489.    the  parameter  string  and  control  to the back/restore utility.  Upon
  490.    completion,  you will be returned to the Fetch Utilities menu  and  your
  491.    screen will be restored to whatever was displayed.
  492.  
  493.    Copy File 
  494.  
  495.    This routine will prompt you for the source and target file  names.  You 
  496.    may  enter a full drive\path for one and or the other.  FETCH will check 
  497.    both source and target filenames to make sure all is ok... If it finds a 
  498.    duplicate target filename,  it will  let  you  know  and  give  you  the 
  499.    opportunity  to  overwrite  the  target  file  or  abort  the  file copy 
  500.    operation.  Unlike other 'in program' files copiers which only copy  128 
  501.    bytes  at  a  time,  FETCH  uses a 16K buffer for a FAST efficient copy!  
  502.    Additionally,  FETCH will ask if you wish to delete (erase)  the  source 
  503.    file upon successfully completing the copy.  
  504.  
  505.  
  506.    DOS Command
  507.  
  508.    This routine,  along with the DOS Shell are probably the  most  powerful 
  509.    features  of  FETCH!  They give you total flexibility from within FETCH.  
  510.    This option uses the default  DOS  Command  specified  in  the  Defaults 
  511.    Section (see default DOS Command option above). It acts exactly the same 
  512.    as  specifying  a  command  when  using  the DOS Shell option.  The only 
  513.    difference is this option allows you to  predesignate  a  commonly  used 
  514.    program  command  and not have to type the command each time you use the 
  515.    program.  Please study the Default DOS Command option in  the  Utilities 
  516.    section above.  
  517.  
  518.  
  519.    Erase File
  520.  
  521.    This  routine  allows you to erase a file.  Again,  you may enter a full 
  522.    drive\path.  You will be asked to confirm the  erasure  prior  to  FETCH 
  523.    performing the task.  
  524.  
  525.  
  526.    Free Space
  527.  
  528.    This routine will return the space remaining on any valid drive.  Simply 
  529.    type in the letter of the drive.  
  530.  
  531.  
  532.    In Memory of
  533.  
  534.    This  option will display the current program version,  compile date and 
  535.    the program dedication.  
  536.  
  537.  
  538.    List ARC
  539.  
  540.    This routine allows you to list the members of an ARC file.  It displays 
  541.    a  modified verbose listing,  excluding the compression method.  You may 
  542.    designate a full drive\path here also.  
  543.  
  544.  
  545.    Make ARC
  546.  
  547.    This routine is identical to the ARC Type option  except  that  it  will 
  548.    first prompt you for the name of the arc file you wish to create (taget) 
  549.    and then for the file(s) you wish to place into the arcfile. You may use 
  550.    any  wildcards  here.  And  you may also specify full paths for both the 
  551.    target arcfile and the source member files.  
  552.  
  553.  
  554.    New FileName
  555.  
  556.    This option allows you to rename a file. Your first input is the name of 
  557.    the file to be changed.  If no drive\path is  specified  in  you  input, 
  558.    FETCH  will  use  the  drive\directory name list to find the file.  Once 
  559.    found, FETCH will request the new file name.  Again,  FETCH will use the 
  560.    drive\directory  name  list to see if that filename exists anywhere else 
  561.    on your system.  If a match is found,  FETCH compares the matched file's 
  562.    drive\directory  with that of the file you wish to rename.  If these two 
  563.    paths match,  the rename file function is aborted  without  any  changes 
  564.    being  made.  If  the  two  paths  do not match,  FETCH will display the 
  565.    already existing drive\path\filename and ask if you wish to continue.  A 
  566.    Y response here will go ahead and rename  the  file  regardless  of  the 
  567.    duplication.  A   N   response will again abort the rename file function 
  568.    without any changes begin made.  If,  in its search for a match  to  the 
  569.    new filename, FETCH does not find a match, one last check is made in the 
  570.    drive\path  of  the  file  to be renamed.  The operation is aborted if a 
  571.    match is found or completed of no match is found.  
  572.  
  573.    Registration 
  574.  
  575.    This option displays two screens.  The first screen is  the  Crater  Rim 
  576.    Software  Logo.  The  second screen is the program licensing summary.  I 
  577.    could have placed this in full sight but didn't...  so please  read  and 
  578.    heed!
  579.  
  580.  
  581.    Parameters
  582.  
  583.    This is your doorway to the Defaults Menu (where we just came from).  If 
  584.    you wish to change any of your default settings at any time, this is the 
  585.    way in!  Upon exiting the Defaults Menu you will  be  returned  to  this 
  586.    (Utilities) menu.  
  587.  
  588.  
  589.    Shell to DOS
  590.  
  591.    This routine allows you to drop  to  DOS  without  exiting  FETCH.  Upon 
  592.    selecting  this  option,  FETCH  will open a window and prompt you for a 
  593.    command to be executed. You may start up any program (memory permitting) 
  594.    or simply drop to DOS.  NOTE: If you drop to DOS and change directories, 
  595.    be sure to log back into the directory in which  you  first  dropped  to 
  596.    DOS.  Secondly,  you MUST type EXIT at the DOS prompt in order to return 
  597.    to FETCH.  These two restrictions only apply if  you  drop  directly  to 
  598.    DOS.  If  you  enter  a  commnd at the prompt,  FETCH will automatically 
  599.    restart upon exiting the secondary program.  NOTE that, while at the DOS
  600.    level within the DOS Shell, your cursor will be a large block as opposed 
  601.    to the standard underline type cursor.
  602.  
  603.  
  604.    Test ARC
  605.  
  606.    This  routine allows you to test the integrety of one or more ARC files.  
  607.    Again,  if you specify a  drive\directory  path,  FETCH  will  use  that 
  608.    information.  If  no  drive\directory  is specified,  FETCH will use the 
  609.    drive name list. You may use any valid wildcards here.  With PKXARC, the 
  610.    single * without a drive\directory path will test all arc files found in 
  611.    every drive\directory in you drive names  list!  The  single  *  with  a 
  612.    drive\directory  will text all arc files in that directory.  Again,  the 
  613.    ARC extension is assumed.  
  614.  
  615.  
  616.    Unpack ARC
  617.  
  618.    This routine allows you to unpack an arc file.  You may  desingnate both 
  619.    the  source  arcfile  path and the drive\directory in which to place the 
  620.    extracted files.  
  621.  
  622.  
  623.    View File
  624.  
  625.    This  routine  allows  you to view a text file.  This option is for text 
  626.    files which are NOT within an ARC file!  A straight page by page display 
  627.    of  the specifed text file is made.  Your prompt line allows you to stop 
  628.    the display at any time or do a C)ontinuous non-stop display of the text 
  629.    file.  
  630.  
  631.  
  632.    Quit
  633.  
  634.    This  option returns you to the directory section of FETCH.  Notice that 
  635.    your original place with the directory listing has not been altered. You 
  636.    may now continue on to another page of files listings,  hit  the  Escape 
  637.    key and enter this section again, or simply exit FETCH completely.  
  638.    
  639.    Let's exit this section and go back to the directory listing.  Hit the q  
  640.    key or highlight the Quit option and hit Enter...  
  641.  
  642.  
  643.       I had mentioned exiting FETCH in the Quit option above.  Since we are 
  644. at  a  prompt line,  this is a good place to explain your exit options.  If 
  645. you are positioned at a 
  646.  
  647.       More ([Esc], [Y]es/[Enter], [N]o, [C]ontinuous)...
  648.  
  649. prompt,  your  exit routine is a two key operation.  First hit the N key to 
  650. prevent any further directory listing. Then simply hit  ENTER  or  Q at the
  651.  
  652.       That's It! [Esc] [A]gain or [Enter]/[Quit]
  653.  
  654. prompt. If I recall, we were at the 'That's It!' Prompt when we entered the 
  655. Utlities  section.  So let's finish up your tour.  Hit the A key.  You will 
  656. notice that the prompt line has changed to: 
  657.  
  658.       [\] [spec] [/spec] or [Enter]
  659.  
  660. These are the command line parmaeters which may be  passed  to  FETCH  upon 
  661. startup. They are: 
  662.  
  663.  
  664.    \  
  665.  
  666.    Forces FETCH to do a directory of the root of the logged drive.  This is 
  667.    equivilant  to  typing  Dir  C:\  at  the DOS prompt.  Execution of this 
  668.    option at the DOS command line would take the form FETCH \ 
  669.  
  670.  
  671.    spec
  672.  
  673.    This may be any drive\path\search  criteria.  FETCH  will  aoutmatically 
  674.    perform a directory listing using the specified search specification.  
  675.  
  676.     Valid entry examples:  C:\DOS\   or   D:\MYDIR\A*.T?T   or   A:\
  677.                            C:\DIR1\DIR2\DIR3\*.ARC  or C:\DOS\FET*
  678.  
  679.  
  680.    /spec
  681.  
  682.    This  option is the same as spec above except it forces FETCH to use the 
  683.    drive\directory list so DO NOT include the  drive\directory  path  here!  
  684.    FETCH  will ONLY search those drive\directory names previously specified 
  685.    in the program configuration.  
  686.     
  687.     Valid entry examples:  /  or  /A*.T?T  or  /*.ARC    /FET*
  688.  
  689.  
  690.    Enter
  691.  
  692.    This option simply takes you back to the prompt line
  693.  
  694.           Search Specification: ([Enter]= *.*, [?]= Drive_List):
  695.  
  696.    And, at this point, that's exactly where we want to go! So, hit the 
  697.    Enter  key!
  698.  
  699.  
  700.       First a note about  entering  Search  Specifications...  Entering  an 
  701. asterik/period  (*.) without the extension will cause FETCH to display only 
  702. the  Directory  Entries  (all  directory  entries  containing   the   <DIR> 
  703. designation including the   .  <DIR>  and   ..  <DIR> entries from within a 
  704. directory).  If no   period  or  period/extension  is supplied,  Fetch will 
  705. automatically add the   .*   to your search specification.  
  706.  
  707.       We should now be at the prompt line
  708.  
  709.           Search Specification: ([Enter]= *.*, [?]= Drive_List):
  710.  
  711.       Our  next detour is to the Drive_List section so type a question mark 
  712. and hit the Enter key.  Your screen should now contain the following:
  713.  
  714.  -----------------------------------------------------------------------------
  715.  Dir[ 0]=C:                                FileFetcher Drive/Dir Names Page 1
  716.  -----------------------------------------------------------------------------
  717.  Dir[ 1]=C:                             Dir[ 2]=C:
  718.  -----------------------------------------------------------------------------
  719.  Which Dir number [0..2]  [P]age  [E]dit  or  [C]lear
  720.  
  721. There are a possible two full pages (40 per page) of drive\dir  names.  You 
  722. are presently viewing page 1 as noted in the upper right corner. Unless you 
  723. have  specified  more than 40 directory names in the Defaults Menu section, 
  724. page 1 will be the only page you will  be  able  to  access.  If  you  have 
  725. specifed  more  than  40 directory names,  page 1 will display the first 40 
  726. entries and page 2 will display the remaining entries up  to  the  maiximum 
  727. 80.  Dir[  0]  is  the  default  path  which  you specified from within the 
  728. Defaults Menu section and will remain visible no matter which page you  are 
  729. viewing. Your options here are:
  730.  
  731.  
  732.    0..2
  733.  
  734.    These  numbers  are  the  maximum  (as  configured  earlier)   available 
  735.    directory names available.  The 0 represents the default path name,  the 
  736.    2 designates the total number of directory names you have set.  A choice 
  737.    of a number from 0 to 2 will allow you to view the directory listing for 
  738.    a specified drive\directory.  Upon selecting a number,  your prompt will 
  739.    change,  displaying  the  actual  drive  designator (including the final 
  740.    backslash) and wait for you to input a search specification.  Enter your 
  741.    search criteria and hit Enter.  FETCH will then procedd  to  diplay  all 
  742.    matches  found in that drive\directory.  If you simply hit Enter for the 
  743.    search spec prompt, FETCH will insert *.* as the search criteria.  
  744.  
  745.  
  746.    [P]age
  747.  
  748.    This is the paging command.  It will switch you from page 1 to page 2 if 
  749.    you   have  designated  more  than  40  drive\directory  names  in  your 
  750.    configuration.   If  you  have  less  than  40   drive\directory   names 
  751.    designated, this command will have no effect.
  752.  
  753.  
  754.    [E]dit
  755.  
  756.    This command places you into an endless loop!  Upon selecting  the  edit 
  757.    option,  FETCH will open a window prompting you for a number from 0 to 1 
  758.    more than the maximum designated (and number  larger  than  the  maximum 
  759.    designated or simply an Enter response exits the loop).  Upon entering a 
  760.    valid  number,  FETCH  will open another window,  displaying the present 
  761.    value for that drive name and prompt you for a new value.  Hitting Enter 
  762.    here will  restore  that  entry  to  its  previous  value,  refresh  the 
  763.    displayed  listing,  and  return  you  to  the entry number input window 
  764.    again.  You may continue editing the  assorted  entries  until  you  are 
  765.    satisfied...  at  which  time,  either  enter  a  value  larger than the 
  766.    configured maximum or hit the Enter key to exit the edit mode.  Oh  yes, 
  767.    the  maximum  drive\directory  length here is also 29 characters...  and 
  768.    again, do not include the trailing backslash.  
  769.  
  770.    Valid entry names:   C:\FOO\BAR\YOU\ME\TODAY\NOW
  771.                         C:\K9X\MININET\DOWNLOAD
  772.                         C:\DOS
  773.                         C:
  774.  
  775.    Be sure to include all of the drive\directory names you  wish  FETCH  to 
  776.    search. Any drive\directory not specifeid will not be searched.  
  777.  
  778.    If  you  want  to  use  the  special  disignated search feature (see the 
  779.    introduction above), your drive\directory entries must be as follows: 
  780.  
  781.            Drive 0      Default Logged Drive
  782.  
  783.            Drive 1      The catch-all number drive\directory 
  784.  
  785.            Drive 2      The catch-all miscellaneous drive\directory 
  786.  
  787.            Drive 3 ... Drive 80  the Alphabetically named drive\directories 
  788.                      If you have one directory named  P  and need a  second 
  789.                      directory with the P letter, simply create a directory 
  790.                      named  P1  increase the default menu   number of drive
  791.                      names by one,  edit the new last entry  to reflect the
  792.                      drive\directory name. It does  NOT  matter that the  P 
  793.                      and  P1  directory names are not next to eachother  as
  794.                      FETCH  will  ONLY  search those two directories, along 
  795.                      with the default drive 0 and  possibly  the  catch_all 
  796.                      miscellaneous directory.
  797.  
  798.    [C]lear
  799.  
  800.    The  number entry  portion of this  command functions identically to the 
  801.    edit mode.  Upon entering a valid entry number, FETCH will automatically 
  802.    delete  the current directory entry value and replace it with C:  If you 
  803.    no longer require the use of cleared entries,  and the  cleared  entries 
  804.    are  located  in the middle of your list,  you should compress your list 
  805.    and replace all cleared entries with the last most entries,  then  enter 
  806.    the  Defaults  Menu  Section  and decrease the total number of directory 
  807.    entries.  Any duplicate drive\directory names will only  slow  down  the 
  808.    performance of FETCH when using the drive_list feature.
  809.  
  810.   
  811.       That  takes  care  of the drive_list section!  Hit the Enter key when 
  812. you are ready and let FETCH do its thing!  I think that only leaves one (or 
  813. two)  commands  yet  to  be  discussed...  These reside in the command line 
  814. parameters section.  The easiest way the  display  the  commnad  line  help 
  815. screen is from the DOS command prompt. So let's exit FETCH now... type N at 
  816. the   'More'  prompt, then hit  Enter  at the  'That's It!'  prompt.
  817.  
  818.       Back to DOS!  Along with the command line parameters already covered, 
  819. there are  some  special  command  line  parameters  which  have  not  been 
  820. discussed yet. The first one is the question mark. Type FETCH ?  at the DOS 
  821. command prompt.  The help screen should now be displayed  on  your  screen.  
  822. The [\], [/spec], [spec] have already been covered.  The [?] you just used, 
  823. so the only one remaining is the [`] parameter. Starting FETCH with a ` (in 
  824. the form of  FETCH ` ), takes you directly to the Utilities menu, bypassing
  825. all of the other directory functions.  Your screen will be blank except for 
  826. the Utilities Menu in the upper right corner.  Upon exiting  the  Utilities 
  827. menu, FETCH will place you at the 'That's It!' prompt.  From that point you 
  828. may choose any of the available options to  enter  the  directory  mode  or 
  829. simply hit the Enter key to exit back to DOS.  
  830.  
  831.       Well,  I  think  that just about does it!  You've had the full guided 
  832. tour of the power available from within FETCH.  One last point I would like 
  833. to mention...  and that's registration.  FETCH  is  distributed  under  the 
  834. terms  outlined  within  the  program's  'Program  Info'  section  and more 
  835. importantly,  under the licensing agreement supplied within  the  FETCH.ARC 
  836. file.  I  wont go into details here as the licensing agreement says it all.  
  837. The only point I want to make is  that  all  proceeds  received  from  this 
  838. program,  K9X,  PopEdit, and the other programs I have written and released 
  839. go toward the upkeep and maintenance of Underdog's MiniNet BBS.  
  840.  
  841.       And a special plea for all the authors who supply  all  the  programs 
  842. you  download  and  use...  After being both a user and a Sysop for over 10 
  843. years now,  I know that alot of you say
  844.  
  845.  'What the Hell, what does he know whether I'm using  his program or not'.
  846.  
  847. I  also  know that an equal number (if not more) use the programs available 
  848. to them and make a mental note to register the program but never quite  get 
  849. around  to doing it.  And,  in both cases,  you are right!  It is true that 
  850. the authors do not know who is using their program  and  who  is  not.  The 
  851. point I am trying to make is that over the years, I have seen more and more 
  852. 'ShareWare' programs go commercial because the ShareWare users neglected to 
  853. register a package they were using.  I've also seen authors of really  good 
  854. programs  simply  stop  writing and releasing their work due to the lack of 
  855. support.  I've  seen thousands upon thousands of users log onto the MiniNet 
  856. and download countless numbers of files.  I know that they  are  using  the 
  857. programs  by  the  way that they hunt out and download the latest versions.  
  858. Unless you guys (and gals) start  supporting  the  authors  by  registering 
  859. these programs,  sooner or later the 'source' is going to dry up.  The only 
  860. losers at that point will by yourselves!  I urge you to please support  the 
  861. authors  of the programs you use by registering them.  The $20.00 or $30.00 
  862. or whatever is requested is a small price to pay to keep this whole concept 
  863. alive and thriving.  
  864.  
  865.                     Enjoy and....  
  866.                          Keep the Faith.
  867.                              Sal Manaro
  868.                              Underdog's MiniNet
  869.                              Crater Rim Software
  870.  
  871.  
  872.